/**
 * @type {Number}
 *
 * @properties={typeid:35,uuid:"4F13C392-A492-44B2-BA07-B166BEC17922",variableType:4}
 */
var fMedioPago = null;

/**
 * Handle changed data.
 *
 * @param {Number} oldValue old value
 * @param {Number} newValue new value
 * @param {JSEvent} event the event that triggered the action
 *
 * @returns {Boolean}
 *
 * @properties={typeid:24,uuid:"7EEA47D8-B3CA-4A54-AC8A-5E480C3E1E95"}
 */
function onDataChange(oldValue, newValue, event) {
	if (newValue == 2)
	{
		elements.tab_tarjetas.visible = true
	}
	else
	{
		elements.tab_tarjetas.visible = false
	}
	return true
}
